package com.lemon.business.hook;

import com.lemon.business.InsertDataService;
import com.lemon.business.timedtask.TimedTaskService;

/**
 * @Author liuli
 * @Date 2020/10/15 0:02
 */
public class ShutDownHookService implements Runnable {

    @Override
    public void run() {
        InsertDataService.close(); // 关闭入库线程
        TimedTaskService.shutdown(); // 关闭定时任务
    }
}
